package com.xsmart.common.constant;

/**
 * 返回结果定义
 */
public class ResultConstant {
    public static final int SUCCESS = 0;
    public static final int ERROR = 1;
    public static final int USER_PASSWORD_INVALID = 2;
    public static final int SERVICE_NOT_FOUND = 3;
    public static final int LOGIN_TIME_OUT = 4;
    public static final int USER_EXIST = 5;

    //exception message
    public static final String ERROR_INSERT_USER = "插入用户信息失败";
    public static final String ERROR_OPENID_NULL = "openid为空";
    public static final String ERROR_ORDERAMOUNT_NULL = "orderAmount为空";
    public static final String ERROR_ORDERID_NULL = "orderId为空";
    public static final String ERROR__REQUEST = "请求错误";
    public static final String ERROR_PREPAYID_NULL = "prepay_id为空";


}
